#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	template="/templates/baseTemplate.xhtml">
	
	<ui:define name="topContent">
		<h1>${symbol_pound}{msg['label.aplicacao.nome']}</h1>
		<h:form>
			<ul>
				<li>${symbol_pound}{msg['label.usuario.logado']}: ${symbol_pound}{loginBean.usuario.nome}</li>
				<li><p:commandLink value="${symbol_pound}{msg['botao.sair']}" action="${symbol_pound}{loginBean.logout}" /></li>
			</ul>
		</h:form>
		
	</ui:define>
	
	<ui:define name="mainContent">
		<ui:include src="/templates/menu.xhtml" />
	
		<div id="content">
			<ui:insert name="content">Conteúdo</ui:insert>
		</div>
	</ui:define>
	
</ui:composition>
	